#ifndef SETUPMSGBOX_H
#define SETUPMSGBOX_H

#include <QtGui/QWidget>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QMessageBox>
class NewOrContinueBox: public QWidget
{
    Q_OBJECT
public:
    NewOrContinueBox(QWidget *parent): QWidget(parent){}
    ~NewOrContinueBox(){}
    int showBox()
    {

        QMessageBox msgBox;
        QPushButton *NewButton = msgBox.addButton(QObject::tr("New"), QMessageBox::YesRole);
        QPushButton *ContinueGameButton = msgBox.addButton(QObject::tr("Cont'"), QMessageBox::NoRole);

        msgBox.setText("New or Continue Game");
        msgBox.setInformativeText("Do you want to start a new game or continue an old game?");
        msgBox.setDefaultButton(NewButton);
        msgBox.setIcon(QMessageBox::Question);
        return msgBox.exec();

    }
};

#endif // SETUPMSGBOX_H

